﻿define(["service/service", "service/httpService"], function (service) {
    service.factory("chargeService", function (httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/charge/gets", params);
            },
            get: function(params) {
                return httpService.get("/admin/charge/get", params);
            },
            charge_first:function(params){
                return httpService.post("/admin/charge/charge_first", params);
            },
            charge_notice:function(params){
                return httpService.post("/admin/charge/charge_notice", params);
            }
        }
        return methods;
    });
});